Add Tramp method "apptainer"
authorMichael Albinus <michael.albinus@gmx.de>
Tue, 7 May 2024 07:56:05 +0000 (09:56 +0200)
committerMichael Albinus <michael.albinus@gmx.de>
Tue, 7 May 2024 07:56:05 +0000 (09:56 +0200)
commit4808c63d43f529f41aac2f2bb14df7ab8f882440
tree1b9e2dfd99435fb3b3a61006334ff2f80c41c7aa
parent3bc9c38c471983431bc6768dd6cfe9e059e44a3b
Add Tramp method "apptainer"

* doc/misc/tramp.texi (Top, Configuration): Add "Optional methods".
(Optional methods): New section.
(Inline methods) <androidsu, toolbox, flatpak>: These are optional
methods.
(Inline methods) <apptainer>: Add.

* etc/NEWS: New Tramp method "apptainer".
Some Tramp methods are optional.
Fix typos.

* lisp/net/tramp-androidsu.el (tramp-enable-androidsu-method):
New defun.  Call it when `system-type' is `android'.

* lisp/net/tramp-container.el (tramp-apptainer-program): New defcustom.
(tramp-apptainer-method): New defconst.
(tramp-apptainer--completion-function)
(tramp-enable-toolbox-method, tramp-enable-flatpak-method)
(tramp-enable-apptainer-method): New defuns.

* lisp/net/tramp.el (tramp-enable-method): New defun.

* test/lisp/net/tramp-tests.el (tramp--test-container-p):
Add "apptainer".
(tramp--test-supports-processes-p): Extend function.
doc/misc/tramp.texi
etc/NEWS
lisp/net/tramp-androidsu.el
lisp/net/tramp-container.el
lisp/net/tramp.el
test/lisp/net/tramp-tests.el